package com.juanpi.order.configuration;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

//import org.springframework.boot.autoconfigure.SpringBootApplication;

//@SpringBootApplication
@ImportResource({"classpath:application.xml"})
//@EnableConfigurationProperties
//@ComponentScan
@Configuration
@EnableAutoConfiguration
@ComponentScan
public class YinheConfigApplication {

	public static void main(String[] args) throws Exception {
		SpringApplication.run(YinheConfigApplication.class, args);
	}

}